package org.distributed.transaction.core.annotion;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.distributed.transaction.core.DTAutoConfiguration;
import org.springframework.context.annotation.Import;

/**
 * 开启分布式事务
 * 
 * @author chenfanglin
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(value = DTAutoConfiguration.class)
public @interface EnableDistributedTransation {
}
